<table>
	<thead>
		<tr>
		   <th><input class="check-all" type="checkbox" /></th>
		   <th style="width:50%">Tiêu đề</th>
		   <th>Địa điểm</th>
		   <th>Loại giao dịch</th>
		   <th>Liên hệ</th>
		   <th>&nbsp;</th>
		</tr>
		
	</thead>
    
    <tfoot>
		<tr>
			<td colspan="6">
				<?php echo $pagination; ?>
				<div class="clear"></div>
			</td>
		</tr>
	</tfoot>
    
	<tbody>
		<?php foreach($lands as $land): ?>
		<tr>
			<td><input type="checkbox" /></td>
			<td><a href="<?php echo Route::Url('admin',array('controller' => 'land', 'action' => 'edit', 'id' => $land->id)); ?>"><?php echo $land->title; ?></a></td>
			<td><?php echo $land->Location->name; ?></td>
			<td><?php echo __($land->transaction_type); ?></td>
			<td><?php echo $land->contact_name. ' - '. $land->contact_phone; ?></td>
			<td>
				<!-- Icons -->
                <a href="<?php echo Route::Url('admin',array('controller' => 'land', 'action' => 'edit', 'id' => $land->id)); ?>" title="Edit"><img src="<?php echo $assets_image . '/icons/pencil.png'; ?>" alt="Edit" /></a>
                <a href="<?php echo Route::Url('admin',array('controller' => 'land', 'action' => 'delete', 'id' => $land->id)); ?>" title="Delete"><img src="<?php echo $assets_image . '/icons/cross.png'; ?>" alt="Delete" rel="delete" /></a>
			</td>
		</tr>
		<?php endforeach;?>
	</tbody>
	
</table>